@font-face {
    src: url(../font/SDK.ttf)  format("truetype");
    font-family: SDK;
}
* {
    font-weight: 400;
    font-family: SDK;
}
body {
    background-color: #f5f5f5;
}

#card {
    border-radius: 12px;
    background-color: #6e3532;
    width: 850px;
    height: fit-content;
    height: fit-content;
    position: relative;
}
#source {
    position: absolute;
    top: 32px;
    right: 24px;
    text-align: right;
    color: #a1a1a1;
    width: fit-content;
    height: fit-content;
    font-size: 24px;
    line-height: 32px;
}
#made {
    color: #a1a1a1;
    margin: 0 auto;
    width: fit-content;
    padding: 0 12px 12px;
    font-size: 16px;
    line-height: 20px;
}
h1 {
    border-radius: 12px 0 24px 0;
    background-color: #313131;
    padding: 12px 32px 12px 24px;
    width: fit-content;
    height: fit-content;
    color: #fff;
    font-size: 32px;
    line-height: 40px;
}
#genseki_container {
    margin: 12px auto;
    border: solid 2px #313131;
    border-radius: 12px;
    background-color: #F4E8DA;
    padding: 12px 40px;
    width: fit-content;
    .genseki_line {
        display: flex;
        justify-content: space-between;
        width: fit-content;
        div {
            display: flex;
            justify-content: senter;
            align-items: center;
        }
        .status {
            width: 150px;
            p {
                color: #1B4C88;
            }
        }
        .genseki, .gcha {
            width: 250px;
        }
        .equal {
            width: 40px;
        }
        p {
            color: #000;
            font-size: 40px;
            line-height: 60px;
            .first {
                font-size: 24px;
            }
        }
        img {
            width: 60px;
            height: 60px;
        }
    }
}
#syousai_container {
    display: flex;
    flex-wrap: wrap;
    margin: 12px auto;
    width: 770px;
    .syousai_box {
        margin: 4px;
        background-color: rgba(244, 232, 218, 0.9);
        display: flex;
        justify-content: center;
        width : calc(100% / 3 - 8px);
        border-radius: 4px;
        p {
            margin: 0 4px;
            color: #000;
            font-size: 20px;
            line-height: 32px;
        }
    }
}

#download {
    margin: 24px 12px;
    button {
        border-radius: 4px;
        background-color: #000;
        padding: 12px;
        width: fit-content;
        height: fit-content;
        color: #fff;
        font-size: 24px;
        line-height: 32px;
    }
}

#input_area {
    display: flex;
    flex-wrap: wrap;
    margin: 24px 12px;
    max-width: 1500px;
    .input_box {
        margin: 0 8px 8px 0;
        display: flex;
        input {
            margin-right: 4px;
            border: solid 0.5px #6e3532;
            border-radius: 4px;
            background-color: #F4E8DA;
            width: 200px;
            height: fit-content;
            color: #000;
            font-size: 20px;
            line-height: 32px;
        }
        p {
            margin-right: 4px;
            width: 200px;
            height: fit-content;
            color: #000;
            font-size: 20px;
            line-height: 32px;
        }
    }
    button {
        border-radius: 4px;
        background-color: #000;
        padding: 0 12px;
        width: fit-content;
        height: fit-content;
        color: #fff;
        font-size: 20px;
        line-height: 32px;
    }
}